PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFCanvas Class / drawChord Method / drawChord(PDFPen,PDFBrush,double,double,double,double,double,double) Method
that determines the color, width, and style of the pie shape.
that determines the characteristics of the fill.
The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
Width of the bounding rectangle that defines the ellipse from which the pie shape comes.
Height of the bounding rectangle that defines the ellipse from which the pie shape comes.
Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.
In This Topic
    drawChord(PDFPen,PDFBrush,double,double,double,double,double,double) Method
    In This Topic
    Draws and fills the interior of a chord representing a region bounded by the intersection of an ellipse and a line segment, called a secant, specified by a pair of coordinates, a width and a height.
    Syntax
    public void drawChord( 
       PDFPen pen,
       PDFBrush brush,
       double x,
       double y,
       double width,
       double height,
       double startAngle,
       double sweepAngle
    )

    Parameters

    pen
    that determines the color, width, and style of the pie shape.
    brush
    that determines the characteristics of the fill.
    x
    The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
    y
    The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
    width
    Width of the bounding rectangle that defines the ellipse from which the pie shape comes.
    height
    Height of the bounding rectangle that defines the ellipse from which the pie shape comes.
    startAngle
    Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
    sweepAngle
    Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.
    See Also